System and method for determining reticle defect printability

ABSTRACT

A method and software program for determining printability of a defect on a reticle or photomask onto a substrate during processing. That is performed by creating a pixel grid image having a plurality of individual pixel images showing the defect. A gray scale value is assigned to each pixel image of the pixel grid image and a probable center pixel of the defect is selected. Then the polarity of the defect is determined, with a coarse center pixel of the defect optionally selected using the probable center defect and polarity of the defect. If a coarse center pixel is selected, then a fine center of the defect can optionally be selected from the coarse center pixel and polarity of the defect. From the center pixel the physical extent of the defect can be determined followed by the determination the transmissivity energy level of the physical extent of the defect. Optionally, the proximity of the defect to a pattern edge on the reticle or photomask can be determined using the physical extent and polarity of the defect. Then the printability of the defect can be determined from the transmissivity energy level of the defect and characteristics of the wafer fabrication process being used to produce the substrate from the reticle or photomask.

CROSS-REFERENCE

This application is a divisional application of an application with the same title having Ser. No. 08/933,971, filed on Sep. 19, 1997, U.S. Pat. No. 6,076,465 which claimed priority from a Provisional application having serial number 60/026,426, filed on Sep. 20, 1996.

FIELD OF THE INVENTION

The present invention relates generally to electro-optical inspection systems, and more particularly to an automated reticle inspection system and method for determining which defects in a reticle will print on the substrate and effect the performance of a completed semiconductor device.

BACKGROUND OF THE INVENTION

Present reticle and photomask inspection systems currently identify defects on reticles and photomasks merely as defective pixels. No effort is made to determine printability and the ultimate impact of identified defects on a finalized semiconductor device. That approach has been satisfactory in the past given the trace widths and number of components to be implemented on a single substrate and in a single chip.

However new technology has continued to push the line and component density on a single semiconductor substrate, and in a single chip, to greater and greater levels with ever narrower line widths being required. That being true, and given the previous criteria as to what defects are a potential problem, smaller and smaller anomalies in reticles and photomasks are being considered a defect. Given the current technology, anomalies of well below one micron in size (down to 200 nanometers in some cases) are being considered defects. Therefore, inspection machines have been refined to detect these ever smaller anomalies on reticles and photomasks.

Currently, in the semiconductor industry, complex reticles and photomasks that can cost tens of thousands of dollars to produce are being scraped since it is believed that even the smallest defect in one reticle or photomask used in the production of a substrate may have a detrimental effect on the performance of the final semiconductor component.

What is needed is a method and system that not only identifies the ever smaller anomalies on a reticle or photomask as a defect; but which goes further and considers other characteristics, the location of the defect, and the line patterns on the reticle or photomask, to determine whether or not each individually identified defective pixel will print onto,the semiconductor substrate. If this is accomplished, many reticles and photomasks that are currently being scraped could instead be used with no detrimental effect on the operation of the final semiconductor component, thus reducing the cost of production of semiconductor devices. It is believed that the present invention provides that capacity.

SUMMARY OF THE INVENTION

The present invention includes a method and software program for determining printability of a defect on a reticle or photomask onto a substrate during processing. That is performed by creating a pixel grid image having a plurality of individual pixel images showing the defect. A gray scale value is assigned to each pixel image of the pixel grid image and a probable center pixel of the defect is selected. Then the polarity of the defect is determined, with a coarse center pixel of the defect optionally selected using the probable center defect and polarity of the defect. If a coarse center pixel is selected, then a fine center of the defect can optionally be selected from the coarse center pixel and polarity of the defect. From the center pixel the physical extent of the defect can be determined followed by the determination the transmissivity energy level of the physical extent of the defect. Optionally, the proximity of the defect to a pattern edge on the reticle or photomask can be determined using the physical extent and polarity of the defect. Then the printability of the defect can be determined from the transmissivity energy level of the defect and characteristics of the wafer fabrication process being used to produce the substrate from the reticle or photomask.

DESCRIPTION OF THE FIGURES

FIG. 1 is a general flow diagram that illustrates the steps of the present invention.

FIG. 2 illustrates a 256 by 256 pixel grid image that is used by the present invention as a general work area for the present invention, and here illustrates the determination of the polarity of a defect.

FIG. 3 illustrate a 3 by 3 pixel window that is used to determine the coarse center pixel.

FIG. 4 illustrates a sub pixel peak gray scale value location routine to perform a fine location of the center of a defect.

FIG. 5 is a representative gray scale value variation for a pixel of a defect along one axis with reference to the spacing between the center pixel of the defect to those pixels extending away from the center pixel.

FIG. 6 illustrates the determined extent of a defect in the pixel grid image and adjacent groupings of pixels in the same size and shape as the extent of the defect.

FIG. 7a illustrates a typical gray scale value variation for the pixels adjacent to each side of, and those that make up the edge of, a line on a reticle.

FIG. 7b illustrates the use of linear sub-pixel interpolation to locate the edge of a line on a reticle.

FIG. 8 is a simplified functional block diagram of a prior art mask inspection system.

DESCRIPTION OF THE PREFERRED EMBODIMENTS OF THE PRESENT INVENTION

There are numerous inspection machines available that have the capability of identifying defects on a reticle or photomask. An example of such a machine that performs the inspection automatically by either die-to-die or die-to-database inspection is described in detail in European Patent Specification EP 0532927B1 published Feb. 21, 1996, entitled “Automated photomask inspection apparatus”, and which is incorporated herein by reference. In performing that inspection, the above identified inspection machine, and other similar machines, scans the reticle or photomask and pixelizes the image, saving the pixel location information for each of the scanned regions where there is not agreement between the dies (in die-to-die) or between the die and the data base (in die-to-data base). A typical pixel size used by such inspection machines is a 0.25 μm square., What is not determined by the currently available defect detection machines is the transmittable energy level of light through the groups of pixels that constitute each defect; more specifically the transmittable energy level of the radiation frequency used by the steeper to expose a semiconductor wafer to the pattern on the reticle or photomask prior to each chemical processing step of the wafer in the production of the finished semiconductor component.

It has been discovered that there are numerous factors that contribute to whether or not a defect on a reticle or photomask will print on a substrate. The size of such a defect is only one of those factors. It has also been determined that the energy level that will pass through such a defect is equally important to being able to make a determination as to whether or not such a defect will print onto a substrate that is exposed to such a reticle or photomask. There are still other factors that contribute to whether or not such a defect will print onto a substrate.

The primary factor as to the printing of a defect in a reticle on a substrate is the transmittable energy level through that defect. It is clear that if the defect in question is a type that is not transmissive, there can be no trace of that defect on the substrate exposed by the reticle in which the defect is contained, regardless of the size of that defect.

There are numerous other factors that influence whether or not a defect prints onto a substrate. Those include, among other factors, the type of resist used on the substrate, line width size, stepper type, numerical aperture of the stepper, focus of the stepper, radiation frequency of the stepper, exposure time of the stepper, etc.

Referring to FIG. 1, the actual process of the present invention thus begins with the defect review menu (10) that the prior art inspection machine creates. A microscope is then used, by an operator or automatically, to capture the image of a defect (12) from the defect review menu by scanning that defect image and creating a pixel grid image (e.g., 256 by 256 pixels with the pixel size being 0.25 μm) of a defective area. Then, using a gray scale resolution of 256 levels, each pixel in that captured image is digitized (14) by assigning a gray scale value that corresponds to the brightness or darkness of that pixel from 0to 256, with 0 being for opaque pixels and 256 being for fully transmissive pixels of the defective area of the photomask. FIG. 8 is a prior art mask inspection system ( FIG. 1 of European Patent Specification EP 0532927B1) that could be used to perform this function with optical subsystem 116 acting as the microscope, and delivering the image from the reticle 114 to electronic subsystem 120, all under the control of control computer 124.

More specifically, the simplified-block diagram of FIG. 8 is of a prior art mask inspection system 110, that includes a stage 112 for carrying a substrate 114 to be inspected, an optical subsystem 116, a data base adaptor 218, an electronics subsystem 120, a display 122, a control computer 124, and a keyboard 126. The stage 112 is a precision device driver under control of subsystem 120 and capable of moving the substrate 114 under the test relative to the optical axes of optical subsystem 116 so that all or any selected part of the substrate surface may be inspected. Optical subsystem 116 includes a light source 130 and related optics which cause a beam of light to be deflected back and forth over a small angle as viewed by the substrate 114. The light beam emitted by light 130 is deflected by the combination of two acousto-optic elements; an acousto-optic prescanner 140 and an acousto-optic scanner 142. When the light beam emerges from the scanner 142 it then enters a cube beam splitter 160. The beam next passes through an objective lens 182 which focuses the beam onto the substrate 114. Light passing through the substrate 114 is then collected by a condenser lens 184 and focused onto the transmission detector 134.

With a gray scale value assigned to each pixel in the defect area, the probable center of the defect is selected (16) and the coordinates of the pixel at that location are noted. Next the polarity (white or black) of the defect is determined (18) by comparing the gray scale value of the pixel at the selected probable center of the defect to the gray scale value of at least one reference pixel a number of pixels spaced apart from the probable center pixel (e.g., 10 pixels to the right). If the gray scale value of the selected probable center pixel is less than the gray scale value of the reference pixel the defect is considered to be black, or have negative energy. If the gray scale value of the selected probable center pixel is greater than the gray scale value of the reference pixel, the defect is considered to be white, or have positive energy.

Alternatively, reference pixels 2, 5, 7 and 10 pixel positions away from the probable center pixel could each be checked and if gray scale value successively from reference pixel to reference pixel continues to drop then the defect is considered to be white, or have positive energy. Whereas, if the gray scale values successively from reference pixel to reference pixel continues to rise then the defect is considered to be black, or have negative energy. However, if the gray scale value of the reference pixels at first moves in one direction and then changes direction the further that reference pixel is from the probable center pixel, the probable center pixel is near a line edge and the reference pixel progression will have to be performed in another direction without encountering a line edge.

FIG. 2 illustrates a pixel grid image 34 as discussed above with respect to blocks 12 and 14 above. Additionally, there is shown a probable center pixel 36 of that image and a single reference pixel 38 that is used as discussed above with respect to blocks 16 and 18 to determine the polarity of the defect. Alternatively, FIG. 2 also shows a probable center pixel 36′ and reference pixels 38 ², 38 ⁵, 38 ⁷ and 38 ¹⁰, as discussed in the alternative approach that avoids making the decision when there is a line edge in close proximity to the probable center pixel.

This procedure to identify the defect as either black or white could be refined further by considering a second reference pixel either further away from the selected probable center pixel, or in another direction than the first reference pixel, if the gray scale differences between the first considered reference pixel and the selected probable center pixel are closer together than a preselected difference. Still other distances and directions could be tried until a more definitive value difference value is observed to better determine the polarity of the defect.

Referring again to FIG. 1, with the polarity of the defect determined, a coarse center of the defect (20) is determined by finding the pixel in the defect with the minimum or maximum (according to the polarity) gray scale value. This is accomplished by comparing the gray scale values of the pixels in a square pixel window around the selected coarse center pixel (e.g., 3 by 3 pixels with the selected coarse center pixel in the center). If the gray scale value of one of those pixels in comparison with the selected pixel is determined to be higher (white polarity defect), or lower (black polarity defect), that pixel is selected as the new coarse center pixel and a second pixel window of the same size, centered about the new coarse center pixel, is observed and the search is performed again. This process can be repeated as many times as necessary to find a better choice of the coarse center pixel of the defect. To insure accuracy this test can be repeated at least some minimum number of times, perhaps 5, to fully search for and identify the best coarse center pixel.

FIG. 3 illustrates the use of a square pixel window 40 of the type described above with respect to block of FIG. 1. Here, for the first step at the determination of the coarse center pixel with the probable center pixel 36 first selected as the coarse center pixel with the first square 3 by 3 pixel window 40 drawn around it. In each of the squares of window 40 a representative gray scale value has been shown with 76 having been assigned to pixel 36. Then, the gray, scale value of each of the surrounding pixels is compared to the value of pixel 36 to determine if there is a pixel that has a gray scale value that is higher than that of pixel 36. In this example it can be seen that pixel 42 has a gray scale value that is 79 versus the 76 of pixel 36, thus pixel 42 is selected as the next coarse center pixel. Again a 3 by 3 pixel window 44 is drawn around pixel 42 and the surrounding gray scale values of those pixels are compared to the gray scale value of pixel 42 in search of another pixel with a higher gray scale value. In this example, pixel 42 has the highest gray scale value and therefore would be selected as the coarse center pixel of the defect.

Returning again to FIG. 1, with the coarse center pixel of the defect determined, the sub pixel center of the defect can be more finely determined (22) by using a sub pixel interpolation routine. Using the gray scale values for the best coarse center pixel, and surrounding pixels (e.g., the pixel on either side of the coarse center pixel in each direction of interest—x, y and diagonals perhaps), a fine approximation of the defect center, to within less than a pixel dimension (e.g., to within 0.1 pixels) can be determined.

FIG. 4 shows an example of a sub pixel interpolation routine in one direction. Here, the gray scale level variation versus distance for a representative defect is shown with the location and gray scale values of the coarse center pixel 42 (here numbered 2) and the nearest pixels on opposite sides thereof along the same axis (here numbered 1 and 3, respectively). Also, for purposes of this illustration, pixels 1, 2 and 3 each has a gray scale value of 60, 80 and 75, respectively. Also from the defect gray scale curve it can be seen that coarse center pixel 42 is not quite at the peak gray scale value of the defect along the representative axis. The fine center of the defect can be located with the following formula: $\begin{matrix} {{{fine}\quad {pixel}\quad {center}} = \frac{x_{1} + {2\left( x_{2} \right)} + {3\left( x_{3} \right)}}{x_{1} + x_{2} + x_{3}}} & (1) \end{matrix}$

where x₁ is the gray scale value of pixel 1;

x₂ is the gray scale value of pixel 2; and X

x₃ is the gray scale value of pixel 3.

Using the sample gray scale values of FIG. 4a, equation (1) yields: $\begin{matrix} {{{fine}\quad {pixel}\quad {center}} = {\frac{60 + {2(80)} + {3(75)}}{60 + 80 + 75} = \frac{60 + 160 + 150}{215}}} \\ {= {\frac{445}{215} = 2.0697}} \end{matrix}$

thus the fine center pixel location is 0.0697 of a pixel width closer to pixel 3 from pixel 2, or 6.97% of a pixel width from the center of pixel 2 in the direction of pixel 3.

Again returning to FIG. 1, with the center of the defect determined, the size of the defect, or physical extent of the defect in several directions (24), can next be determined. This is accomplished by first noting the gray scale value of the pixel at the center of the defect. That gray scale value is then compared to the gray scale value of the next adjacent pixel in a selected direction. If the difference in gray scale values is greater than a preselected level (e.g., 2), the pixel location is incremented in the same direction by one with the gray scale value of that next pixel compared to the previous adjacent pixel. If that difference value is still greater than the same preselected level, that process continues in that same direction until the difference value does not exceed the preselected level. Once the pixel where the difference value does not exceed the preselected value is determined, that pixel is considered to be the extent of the defect, or on the edge of the defect, in that direction. The same procedure is performed in other selected directions to similarly find the extent, or edge of the defect, in each of those directions. This effectively defines the edge of the defect, or, since the pixels are square, substantially a box around the defect. How many directions in which the comparisons are performed is optional and may be partly dependent on prior knowledge as to the approximate location of the defect relative to other features on the reticle (e.g., proximity to a region of the opposite polarity such as a trace and an opaque region, corner of an opaque or transparent region) of the accuracy to which the extent of the defect is to be determined (e.g., it may be desirable to perform the same function diagonally outward from the center of the defect, or perhaps radially every 10°).

FIG. 5 illustrates, as a bell shaped curve 48, how the gray scale values of the individual pixels of a defect might vary with distance from the gray scale value of the pixel at the fine center, F, of the defect along one axis. Thus, to determine the extent of the defect the gray scale value of adjacent pixels are compared with each other until the difference in gray scale values between two adjacent pixel along the same axis from the center pixel, F, is below a preselected threshold value. Using the values shown in FIG. 5 and assuming that the threshold value is 2, the pixel at location 50 will represent the extent of the defect to the left of the defect center since there is only a difference of 1 with the gray scale value of the next pixel to the right, whereas the differences between all other pixels between pixel 50 and the center pixel are all greater than 2. As stated above, this technique is used in as many other directions as desired to find the extent of the defect in the pixel grid image 34.

Back to FIG. 1, with the extent of the defect determined it is now possible to determine the transmittible energy level of the defect (26). First, the pixel energy of the defect is determined by summing all gray scale values of all of the pixels that are encompassed by the extent of the defect in each direction considered above. Second, in order to measure the energy difference provided by the defect alone, it is necessary to subtract an approximation of the background energy value that would have been present had there not been a defect, or in other words the background noise of this region of the reticle image. A variation in the transmittable energy level of a defect could result from areas that are totally transparent, to those that are somewhat translucent, to those that are totally opaque. The causation for those types of variations in transmittible energy level are numerous. Perhaps the chrome layer on the reticle is thinner in some locations, perhaps there is a scratch that extends substantially through, or all the way through, the chrome layer, perhaps there is a chemical stain on the transparent or opaque regions on the reticle that may or may not impede the transmission of light through the transparent regions...the list is virtually endless.

One way to approximate the background energy of the defect is to sum together the gray scale values for all of the pixels in an immediately adjacent region to the pixel grid image (see 12 above) that is the same size and shape as the determined extent of the defect. For best results, this immediately adjacent region should be defect free, and of the same polarity as the defect. The summed energy from that adjacent region is then considered to be approximately what would have been the background energy level of the defect region and is therefore subtracted from the summed energy level of the defect region to get a more accurate measure of the transmittible energy level of the defect region.

To obtain a more accurate approximation of the background energy of the defect region, multiple adjacent regions of the same size and shape can be used with the energy levels of those regions averaged together. Then that averaged energy value would be subtracted from the energy value of the defect region. Through the use of the average level, the effects of some anomalies or system noise in the regions being used to determine the background energy level would be reduced.

FIG. 6 illustrates the pixel grid image 34 for the defect of interest with the extent of that defect shown by outline 52. First the total of the gray scale values for all pixels within that defined defect extent are summed together. Then an area of the same size and shape 54 is considered adjacent to the extent of the defined defect with the gray scale values of all of the pixels within that area added together to determine an approximation of the background gray scale energy value for the defined defect area 52. The value for area 54 is then subtracted from the value of defect area 52 to determine the actual level of transmittible energy level of defect area 52. Alternatively, as discussed above, multiple adjacent areas 54, 56 and 58, of the same size and shape can also be defined adjacent to defect area 52 with the total gray scale energy level for all of the pixels within those areas added together and the total then divided by 3 in this example to determine an average background energy level to be subtracted from the energy level of defect area 52.

Referring to FIG. 1, it is also known that the proximity of a defect in a reticle to an edge in the pattern on the reticle can have an amplified effect on the printing of the defect to the substrate. It is necessary to then determine that proximity, if it exists. The proximity of a defect to a pattern edge on a reticle (28) is then determined by searching in numerous directions outside the determined extent of the defect for a gradient (geometry edge) where the gray scale value rapidly approaches the opposite polarity of the defect region. Linear sub pixel interpolation is then used to determine the 50% point of the gradient (i.e., where the gray scale value is one half the difference in the maximum gray scale levels on each side of that pixel located at the point of transition). With the transition pixel location determined, the distance between the transition pixel and the center pixel of the defect in microns is the distance to the reticle edge from the defect.

FIG. 7a illustrates the typical gray scale values of pixels that form the edge of a line on a reticle. In this example pixels P₁, P₂, P₃ and P₄ are shown, respectively, as having a relative gray scale value of a few percent, 30%, 68% and 100%. Further, as stated above, the location of the edge of a line is defined as where the relative gray scale value is 50%. Since there is no pixel that has the 50% value, linear sub pixel interpolation is used to determine a close approximation to that location. In this example it can be seen that location is somewhere between the centers of pixels P₂ and P₃. In FIG. 7b the portion of the curve that includes the relative values and spacing of pixels P₂ and P₃ are shown with a straight line drawn between those two points on the curve. Thus, since the relative values for those points are 68% and 30%, a difference of 38, and the difference of 50% from 68% is 18, the location of the 50% point will be {fraction (18/38)} ({fraction (9/19)}) of a pixel width from the center of pixel P₃ to the center of pixel P₂. Thus, the distance from the line edge to the defect center pixel, F, is the distance from the defect center pixel, F, to the center of pixel P₂ plus {fraction (9/18)}of a pixel width.

As stated above, (see FIG. 1) other factors contribute (30) to whether a defect on a reticle prints onto a substrate (e.g., type of resist, type of stepper, illumination frequency, etc.) with different weighting factors being assignable for each of those variables once it is known what chemicals and equipment a manufacturer uses. Thus, isolated defect printability is predicted by applying selected weighting to the energy of the defect where those weighting factors are attributable to a particular wafer fab process. Similarly, near edge defect printability is also determined by both that distance and the particular wafer fab process that is used. Thus, other weighting factors must be applied to the energy level of the defect to predict printability of those defects that are near an edge. There are therefore two factors that work together to determine the near edge weighting factor to use: how close a defect is to an edge with a higher weighting value necessary the closer the defect is to the edge; and the particular wafer fab process being used.

It should be noted that the above discussion has been for a single defect, and it should further be understood that for multiple defects that may be found in a reticle the above described procedure would be repeated for each such defect that was not otherwise incorporated into the defect extent of an earlier processed defect.

It should further be noted that the above discussion has included a group of procedures, with some of those procedures being optimization procedures, and that if some of those procedures are not performed, improvement over the prior art will still be achieved. For example, those procedures corresponding to blocks 20, 22, 28 and 32 are secondary procedures that can be omitted with a useful result still being achieved.

While the present invention has been described having several optional steps, it is contemplated that persons skilled in the art, upon reading the preceding descriptions and studying the drawings, will realize various alternative approaches to the implementation of the present invention, including several other optional steps, or consolidations of steps. It is therefore intended that the following appended claims be interpreted as including all such alterations and modifications that fall within the true spirit and scope of the present invention. 

What is claimed is:
 1. A computer program stored on a computer readable medium for determining the printability of a defect on a reticle or photomask onto a substrate during processing of said substrate, said printability being determined from a defect review menu of said reticle or photomask prepared by an inspection machine and weighting factors related to a fabrication procedure used to produce said substrate, said computer program comprising: a. instructions for creating a pixel grid image of a portion of said reticle or photomask containing said defect identified in said defect review menu, said pixel grid image having a plurality of associated individual pixel images of said reticle or photomask; b. instructions for assigning a gray scale value to each of said associated individual pixel images of said pixel grid image; c. instructions for selecting a probable center pixel of said defect in said pixel grid image; d. instructions for determining a polarity of said defect; e. instructions for determining a region of physical extent of said defect; and f. instructions for determining a transmissivity energy level of said region of physical extent of said defect.
 2. The computer program of claim 1 wherein said gray scale values have a range from 0 to 256, with 0 representing an opaque pixel and 256 representing a totally transmissive pixel.
 3. The computer program of claim 1 wherein: instructions c. include: g. instructions for noting coordinates of said probable center pixel from said defect review menu; and instructions d. include: h. instructions for selecting a reference pixel from said defect review menu with said reference pixel spaced apart from said probable center pixel and not included in said region of physical extent of said defect; i. instructions for assigning a gray scale value to said reference pixel; j. instructions for comparing said gray scale value of said reference pixel with said gray scale value of said probable center pixel; and k. instructions for assigning a polarity of white to said region of physical extent of said defect if said gray scale value of said probable center pixel is greater than said gray scale value of said reference pixel, or a polarity of black to said region of physical extent of said defect if said gray scale value of said probable center pixel is less than said gray scale value of said reference pixel.
 4. The computer program of claim 1 wherein: instructions c. include: g. instructions for noting coordinates of said probable center pixel from said defect review menu; and instructions d. include: h. instructions for selecting a plurality of reference pixels from said defect review menu with each of said plurality of reference pixels spaced progressively further apart from said probable center pixel in the same direction; i. instructions for assigning a gray scale value to each of said plurality of reference pixels; j. instructions for comparing said gray scale value of each of said plurality of said reference pixels with said gray scale value of said probable center pixel, and said gray scale value of each reference pixel and each other reference pixel adjacent thereto; and k. instructions for assigning a polarity of white to said region of physical extent of said defect if said gray scale value of each of said plurality of reference pixels successively decreases from said gray scale value of said probable center pixel as the spacing from said probable center pixel increases; or a polarity of black to said region of physical extent of said defect if said gray scale value of each of said plurality of reference pixels successively increases from said gray scale value of said probable center pixel as the spacing from said probable center pixel increases; or if the difference between said gray scale value of said probable center pixel and each of said plurality of references pixels varies in one direction and then in an opposite direction the further from said probable center pixel said reference pixel is located, said probable center pixel is probably located in close proximity to a line edge on said reticle or photomask requiring that said plurality of references pixels be reselected in a different direction from said probable center pixel in order to determine polarity of said region of physical extent of said defect and steps h.,i. and j. repeated until a polarity determination for said region of physical extent of said defect can be made.
 5. The computer program of claim 1 wherein instructions e. include: g. instructions for selecting a minimum threshold value of a difference in gray scale values between adjacent pixels to define an edge of said region of physical extent of said defect; h. instructions for noting said gray scale value for said probable center pixel of said defect; i. instructions for selecting a direction beginning with said probable center pixel in which to search for said edge of said region of physical extent of said defect; j. instructions for calculating a difference in gray scale values of juxtaposed pixels in said selected direction starting with said probable center pixel until the magnitude of said difference in gray scale values first exceeds said threshold; k. instructions for setting said edge of said region of physical extent of said defect in the selected direction as a boundary between said juxtaposed pixels where said threshold level is exceeded; and l. repeating instructions i. through k. in numerous selected directions from said probable, center pixel to define said physical extent of said defect in said selected directions.
 6. The computer program of claim 1 wherein instructions f. include: g. instructions for summing together said gray scale values of all of said pixels included within said physical extent of said defect to determine an initial measure of an energy level of said defect; and h. instructions for subtracting a background energy level from said initial measure of an energy level to determine said transmissivity energy level of said region of physical extent of said defect.
 7. The computer program of claim 6 wherein instructions h. include: i. instructions for selecting a region adjacent said region of physical extent of said defect on said reticle or photomask having the same size and shape as said region of physical extent of said defect; j. instructions for summing together gray scale values of all pixels included within said adjacent region to determine a background energy level of said reticle or photomask; and k. instructions for subtracting said background energy level from said initial measure of an energy level to determine said transmissivity energy level of said region of physical extent of said defect.
 8. The computer program of claim 7 wherein said adjacent region of instructions i. is defect free.
 9. The computer program of claim 6 wherein instructions h. include: i. instructions for selecting a plurality of regions adjacent said region of physical extent of said defect on said reticle or photomask, each selected region having the same size and shape as said region of physical extent of said defect; j. instructions for summing together gray scale values of all pixels included within each of said plurality of adjacent regions separately; k. instructions for averaging together each of said gray scale value sums to determine a background energy level of said reticle or photomask; and l. instructions for subtracting said background energy level from said initial measure of an energy level to determine said transmissivity energy level of said region of physical extent of said defect.
 10. The computer program of claim 1 further includes: g. instructions for determining printability of said defect by applying a weighting factor to said transmissivity energy level, said weighting factor being a combination of several variables contributed by a particular wafer fabrication process being used to produce a substrate using said reticle or photomask.
 11. The computer program of claim 1 between instructions d. and e. further includes: g. instructions for determining a coarse center pixel of said defect using said probable center defect and said polarity of said defect.
 12. The computer program of claim 1 wherein instructions g. include: h. instructions for comparing said gray scale value of said probable center pixel individually with said gray scale of each pixel juxtaposed to said probable center pixel; i. instructions for determining if said polarity of said defect is white and step h. reveals a pixel juxtaposed to said probable center pixel that has a higher gray scale value than said gray scale value of said probable center pixel, said juxtaposed pixel is selected as said coarse center pixel of said defect; j. instructions for determining if said polarity of said pixel grid image is black and step h. reveals a pixel juxtaposed to said probable center pixel that has a lower gray scale value than said gray scale value of said probable center pixel, said juxtaposed pixel is selected as said coarse center pixel of said defect; k. instructions for repeating instructions h. through j. if instructions i. or j. resulted in the selection of a different coarse center pixel; and l. instructions for selecting a last selected coarse center pixel as said coarse center pixel following the last performance of instructions k., or selecting said probable center pixel as said coarse center pixel if an initial performance of neither instructions i. nor j. resulted in the selection of a different coarse center pixel.
 13. The computer program of claim 11 wherein instructions e. include: h. instructions for selecting a minimum threshold value of a difference in gray scale values between adjacent pixels to define an edge of said region of physical extent of said defect; i. instructions for noting said gray scale value for said coarse center pixel of said defect; j. instructions for selecting a direction beginning with said coarse center pixel in which to search for said edge of said region of physical extent of said defect; k. instructions for calculating a difference in gray scale values of juxtaposed pixels in said direction selected in step j. starting with said coarse center pixel until the magnitude of said difference in gray scale values first exceeds said threshold; l. instructions for setting said edge of said region of physical extent of said defect in the direction selected in instructions j. as a boundary between said juxtaposed pixels identified in instructions k. where said threshold level is exceeded; and m. instructions for repeating instructions j. through l. in numerous selected directions from said coarse center pixel to define said physical extent of said defect in said selected directions.
 14. The computer program of claim 11 between instructions g. and e. includes: h. instructions for determining a fine center of said defect using said coarse center pixel and said polarity of said defect.
 15. The computer program of claim 14 wherein: instructions g. include: i. instructions for comparing said gray scale value of said probable center pixel individually with said gray scale of each pixel juxtaposed to said probable center pixel; j. instructions for determining if said polarity of said defect is white and instructions i. reveal a pixel juxtaposed to said probable center pixel that has a higher gray scale value than said gray scale value of said probable center pixel, said juxtaposed pixel is selected as said coarse center pixel of said defect; k. instructions for determining if said polarity of said pixel grid image is black and instructions i. reveal a pixel juxtaposed to said probable center pixel that has a lower gray scale value than said gray scale value of said probable center pixel, said juxtaposed pixel is selected as said coarse center pixel of said defect; l. instructions for repeating instructions i. through k. if instructions j. or k. resulted in the selection of a different coarse center pixel; and m. instructions for selecting a last selected coarse center pixel as said coarse center pixel following the last performance of instructions l., or selecting said probable center pixel as said last coarse center pixel if an initial performance of neither instructions j. nor k. resulted in the selection of a coarse center pixel; and instructions h. include: n. instructions for determining a fine center of said defect using a sub pixel interpretation routine on said coarse center pixel.
 16. The computer program of claim 15 wherein instructions n. include: o. instructions for selecting said coarse center pixel and a first and a second pixel each juxtaposed, and on opposite sides of, said coarse center pixel, with said three pixels defining a first straight line; p. instructions for summing said gray scale values of each of said coarse center pixel and said first and second juxtaposed pixels; q. instructions for summing said gray scale value of said first juxtaposed pixel with twice said gray scale value of said coarse center pixel and with three times said gray scale value of said second juxtaposed pixel; r. instructions for dividing a result of instructions q. by a result of instructions p. to yield a value having a whole number portion and a fractional number portion, wherein if said whole number portion is 1 said fine center of said defect is spaced apart from said coarse center pixel toward said first juxtaposed pixel by said fractional number portion of a pixel width along said first straight line and wherein if said whole number portion is 2 said fine center of said defect is spaced apart from said coarse center pixel toward said second juxtaposed pixel by said fractional number portion of a pixel width along said first straight line; s. instructions for selecting said coarse center pixel and a third and a fourth pixel each juxtaposed, and on opposite sides of, said coarse center pixel, with said three pixels defining a second straight line; t. instructions for summing said gray scale values of each of said coarse center pixel and said third and fourth juxtaposed pixels; u. instructions for summing said gray scale value of said third juxtaposed pixel with twice said gray scale value of said coarse center pixel and with three times said gray scale value of said fourth juxtaposed pixel; v. instructions for dividing a result of instructions u. by a result of instructions t. to yield a value having a whole number portion and a fractional number portion, wherein if said whole number portion is 1 said fine center of said defect is spaced apart from said coarse center pixel and said third juxtaposed pixel by said fractional number portion of a pixel width along said second straight line, and wherein if said whole number portion is 2 said fine center of said defect is spaced apart from said coarse center pixel and said fourth juxtaposed pixel by said fractional number portion of a pixel width along said second straight line; and w. instructions for determining a point of intersection between said first and second straight lines with said point of intersection being said fine center of said defect on said reticle or photomask.
 17. The computer program of claim 14 wherein instructions e. include: i. instructions for selecting a minimum threshold value of a difference in gray scale values between adjacent pixels to define an edge of said region of physical extent of said defect; j. instructions for noting said gray scale value for a pixel in which said fine center of said defect is located; k. instructions for selecting a direction beginning with said fine center of said defect in which to search for said edge of said region of physical extent of said defect; l. instructions for calculating a difference in gray scale values of juxtaposed pixels in said direction selected in step k. starting with said pixel in which said fine center of said defect is located until the magnitude of said difference in gray scale values first exceeds said threshold; m. instructions for setting said edge of said region of physical extent of said defect in the direction selected in step k. as a boundary between said juxtaposed pixels identified in step
 1. where said threshold level is exceeded; and n. instructions for repeating instructions k. through m. in numerous directions from said pixel in which said fine center of said defect is located to define said physical extent of said defect in said selected directions.
 18. The computer program of claim 1 further includes: g. instructions for determining proximity of said defect to an edge of a pattern on said reticle or photomask using said region of physical extent said defect and said polarity of said defect.
 19. The computer program of claim 18 wherein instructions g. include: h. instructions for searching said defect review menu of said reticle or photomask in a selected direction outside said region of physical extent of said defect for pixels having a gradient of gray scale values that successively and rapidly approach an opposite polarity from that of said defect; i. instructions for determining a difference of gray scale values of said gradient between pixels having the greatest and least gray scale values; j. instructions for performing sub pixel interpolation on pixels defining said gradient to determine a transition pixel location where said gradient has a gray scale value half-way between said greatest and least gray scale values of said gradient with said location being a point on an edge of said pattern on said reticle or photomask; and k. instructions for measuring a distance between said point of an edge and said probable center pixel with said measured distance being a distance from said edge of said pattern on said reticle or photomask and said defect in said selected direction.
 20. The computer program of claim 19 further includes: l. instructions for repeating instructions h. through k. for additional directions outside said region of physical extent of said defect to determine proximity of said defect to additional points on edges on said reticle or photomask.
 21. The computer program of claim 18 further includes:. h. instructions for selecting a threshold transmissivity level above which said defect is deemed printable; i. instructions for determining a primary weighting factor from said region of physical extent of said defect and several variables of a particular wafer fabrication process being used to produce said substrate; j. instructions for determining a secondary weighting factor based on said proximity of said defect to a point on an edge of a pattern on said reticle or photomask; k. instructions for combining said primary weighting factor and said secondary weighting factor; l. instructions for applying said combined weighting factors to said transmissivity energy level to determine an effective transmissivity energy level of said defect; and m. instructions for comparing said effective transmissivity energy level to said threshold transmissivity level with said defect being printable if said effective transmissivity energy level exceeds said threshold transmissivity level.
 22. The computer program of claim 21 wherein said secondary weighting factor is selected to produce an effective transmissivity energy level that is higher the closer said defect is to a point on an edge of a pattern on said reticle or photomask as opposed to defects that are not inclose proximity to an edge on said reticle or photomask.
 23. A computer program stored on a computer readable medium for determining the printability of a defect on a reticle or photomask onto a substrate during processing of said substrate, said printability being determined from a defect review menu of said reticle or photomask prepared by an inspection machine and weighting factors related to a fabrication process used to produce said substrate, said computer program comprising: a. instructions for creating a pixel grid image of a portion of said reticle or photomask containing said defect identified in said defect review menu, said pixel grid image having a plurality of associated individual pixel images of said reticle or photomask; b. instructions for assigning a gray scale value to each of said associated individual pixel images of said pixel grid image; c. instructions for selecting a probable center pixel of said defect in said pixel grid image; d. instructions for determining a polarity of said defect; e. instructions for determining a coarse center pixel of said defect using said probable center defect from and said polarity of said defect; f. instructions for determining a fine center of said defect using said coarse center pixel and said polarity of said defect; e. instructions for determining a region of physical extent of said defect; f. instructions for determining a transmissivity energy level of said region of physical extent of said defect; g. instructions for determining proximity of said defect to an edge of a pattern on said reticle or photomask using said region of physical extent of said defect and said polarity of said defect; and h. instructions for determining printability of said defect by applying a weighting factor to said transmissivity energy level, said weighting factor being a combination of several variables contributed by a particular wafer fabrication process being used to produce said substrate using said reticle or photomask.
 24. The computer program of claim 23 wherein instructions h. include: i. instructions for selecting a threshold transmissivity level above which said defect is deemed printable; j. instructions for determining a primary weighting factor from said region of physical extent of said defect and several variables of a particular wafer fabrication process being used to produce said substrate; k. instructions for determining a secondary weighting factor based on said proximity of said defect to an edge of a pattern on said reticle or photomask; l. instructions for combining said primary weighting factor and said secondary weighting factor; m. instructions for applying said combined weighting factors to said transmissivity energy level to determine an effective transmissivity energy level of said defect; and n. instructions for comparing said effective transmissivity energy level to said threshold transmissivity level with said defect being printable if said effective transmissivity energy level exceeds said threshold transmissivity level.
 25. The computer program of claim 24 wherein said secondary weighting factor is selected to produce an effective transmissivity energy level that is higher the closer said defect is to a point on an edge of a pattern on said reticle or photomask as opposed to defects that are not in close proximity to an edge on said reticle or photomask. 